]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 2/2] managesieve-login: client_skip_line() - Discard data when newline is...
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 25 May 2026 10:38:13 +0000 (10:38 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commit87322608f13b6c519fc73fb84f890587289eaced
tree716ecb7aa7df6ecb7cc96cff4b046b1a4b7abe3c
parente7c0c6546d12bb8ef6720d216cc9bde8b4e7d904
[PATCH 2/2] managesieve-login: client_skip_line() - Discard data when newline is not found

Without this, data without a newline (e.g., from a lone CR protocol violation
detected by the parser) stays in the buffer indefinitely. This prevents the
server from ever detecting client disconnect, causing a deadlock where both
sides wait for the other.

The post-login server-side client_skip_line() in managesieve-client.c already
handles this correctly by always calling i_stream_skip().

Gbp-Pq: Name 0002-managesieve-login-client_skip_line-Discard-data-when.patch
pigeonhole/src/managesieve-login/client.c